﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="网上预定.aspx.cs" Inherits="联盟酒店.网上预定" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="btnsousuo" runat="server" Text="搜索" />
            <asp:GridView ID="gdvdingdan" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:BoundField DataField="cid" HeaderText="用户编号" />
                    <asp:BoundField DataField="nameper" HeaderText="用户姓名" />
                    <asp:BoundField DataField="roomtype" HeaderText="预定房间类型" />
                    <asp:BoundField DataField="price" HeaderText="价格" />
                    <asp:BoundField DataField="begtime" HeaderText="入住时间" />
                    <asp:BoundField DataField="endtime" HeaderText="离开时间" />
                    <asp:BoundField DataField="people" HeaderText="入住人数" />
                    <asp:BoundField DataField="roomhao" HeaderText="房间号" />
                    <asp:BoundField DataField="zhuangtai" HeaderText="状态" />
                    <asp:TemplateField HeaderText="操作">
                        <ItemTemplate>
                            <asp:Button ID="btnUpdate" runat="server" Text="修改" />
                            <asp:Button ID="btndelete" runat="server" Text="删除" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
    </form>
</body>
</html>
